import { httpData } from '@/utils/types';
import { post, get } from '@/utils/request';
export default {
    //*******************************生产领用申请**************************************** */
    // 生产订单号号
    orderProductionPullDown: (data?: httpData) => {
        return get('/app/order/production/pullDown', data);
    },

    // 生产订单详情
    orderProductionDetail: (data?: httpData) => {
        return get('/order/production/detail', data);
    },

    // 仓储管理-空瓶出库-空瓶生产领用出库新增编辑
    outEmptyProduceReceiveSave: (data?: httpData) => {
        return post('/warehouse/out/empty/produce/receive/save', data);
    },

    //*******************************生产领用出库**************************************** */
    // 仓储管理-空瓶出库-空瓶生产领用出库分页
    outEmptyProduceReceiveList: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/list', data);
    },

    // 仓储管理-空瓶出库-空瓶生产领用出库详情
    outEmptyProduceReceiveDetail: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/detail', data);
    },

    // 仓储管理-空瓶出库-空瓶生产领用出库详情扫码
    outEmptyProduceReceiveScan: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/scan', data);
    },

    // 仓储管理-仓储和气瓶关联表集合新增编辑
    cylinderCylinderRelateSaveBatch: (data?: httpData) => {
        // return post('/warehouse/cylinder/relate/save/batch', data);
        return post('/warehouse/out/empty/produce/receive/receiveSaeOrSubmit', data);
    },

    // 仓储管理-空瓶出库-空瓶生产领用出库-获取该订单未出库钢瓶集合
    outEmptyProduceReceiveListCylinder: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/list/cylinder', data);
    },

    // 仓储管理-仓储和气瓶关联表删除
    cylinderRelateDelete: (data?: httpData) => {
        return post('/warehouse/cylinder/relate/delete', data);
    },

    // 仓储管理-空瓶出库-空瓶生产领用出库已保存钢瓶
    outEmptyProduceReceiveListSave: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/list/save', data);
    },

    // 拣货推荐
    recommend: (data?: httpData) => {
        return get('/warehouse/out/empty/produce/receive/list/picking', data);
    },

    // 接收
    receive: (data?: httpData) => {
        return post('/warehouse/out/empty/produce/receive/waitReceive', data);
    },
    // 新接收
    receiveBatch: (data?: httpData) => {
        return post('/warehouse/out/empty/produce/receive/receiveBatch', data);
    },
    // 接收全部
    receiveAll: (data?: httpData) => {
        return post('/warehouse/out/empty/produce/receive/receiveAll', data);
    },
    //*******************************空瓶其他领用出库**************************************** */
    // 仓储管理-空瓶出库-空瓶其他领用出库详情扫码
    outEmptyOtherScan: (data?: httpData) => {
        return get('/warehouse/out/empty/other/scan', data);
    },

    // 仓储管理-空瓶出库-空瓶其他领用出库新增编辑
    outEmptyOtherSave: (data?: httpData) => {
        return post('/warehouse/out/empty/other/save', data);
    },

    //*******************************返回客供出库**************************************** */
    // 容器扫码管理-公共扫码
    scanBasic: (data?: httpData) => {
        return get('/app/scan/basic', data);
    },

    // 仓储管理-空瓶出库-返回客供出库新增编辑
    customerSupplierSave: (data?: httpData) => {
        return post('/warehouse/out/empty/return/customer/supplier/save', data);
    },

    //*******************************外送探伤出库 || 外送处理出库**************************************** */
    // 仓储管理-空瓶出库-外送出库新增编辑
    outEmptyDeliverySave: (data?: httpData) => {
        return post('/warehouse/out/empty/delivery/save', data);
    },
};
